package com.wfuhui.modules.oms.service;

import java.util.List;
import java.util.Map;

import com.wfuhui.modules.oms.entity.UserAddressEntity;

/**
 * 用户地址
 *
 */
public interface UserAddressService {
	
	UserAddressEntity queryObject(Integer id);
	
	List<UserAddressEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(UserAddressEntity userAddress);
	
	void update(UserAddressEntity userAddress);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	UserAddressEntity queryByDefault(Long userId);
	
	void updateDft(UserAddressEntity userAddress);
}
